- if @page.parent
  -if @page.parent.notify_twitter_of_children?
    - if @page.twitter_id
      %tr
        %th.label= t("flapper.status")
        %td
          %a{ :href => "http://twitter.com/#{Radiant::Config['flapper.username']}/statuses/#{@page.twitter_id}", :style => "color:white" }
            = "http://twitter.com/#{Radiant::Config['flapper.username']}/statuses/#{@page.twitter_id}"
        %td
    - else
      - if @page.field("Tweet").nil?
        - page_field = PageField.new
        %tr
          %th.label
            %label{ :for => "page_Tweet" }= t("flapper.tweet")
          %td.field
            %input#page_fields_attributes_2_name.page_field_name{ :name => "page[fields_attributes][2][name]", :type => "hidden", :value => "Tweet" }
            %input#page_fields_attributes_2__destroy.delete_input{ :name => "page[fields_attributes][2][_destroy]", :type => "hidden" }
            %input#page_fields_attributes_2_content.textbox{ :maxlength => "130", :name => "page[fields_attributes][2][content]", :value => "" }
  - else
    %tr
      %th.label= t("flapper.tweet")
      %td
        = check_box 'page', 'notify_twitter_of_children'
        %label{ :for => "page_notify_twitter_of_children" }
          = t("flapper.publish_children")
      %td
